]> dgit.raspbian.org Git - gnome-shell.git/commit
Delay login animation until after wallpaper has loaded
authorMichael Catanzaro <mcatanzaro@gnome.org>
Tue, 21 Jul 2020 00:00:32 +0000 (19:00 -0500)
committerMichael Catanzaro <mcatanzaro@gnome.org>
Wed, 22 Jul 2020 01:25:31 +0000 (20:25 -0500)
commitf386103bc14f186bceaf75976a9659bf05dfb998
tree765781eebd205def85a5cdbfb41081b5b5d86485
parent26e66aa4fdbf04e01ff973629c9647b059a838fd
Delay login animation until after wallpaper has loaded

Currently, the login animation can occur before the user's wallpaper has
been loaded. When this happens, we wind up displaying a solid blue
background for half a second or so before the proper background is
displayed. This looks jarring and bad. It's great that we can start
GNOME quickly, but starting up before the wallpaper is ready is *too*
quickly.

I've been meaning to fix this since 2014. Better late than never! We can
just have BackgroundManager emit a loaded signal the first time it loads
its first background, and have the startup animation code wait for that
before proceeding.

Some of this code is by Florian, who helped with promisifying. Thanks!

https://bugzilla.gnome.org/show_bug.cgi?id=734996
js/ui/background.js
js/ui/layout.js